/**
 *
 * @properties={typeid:24,uuid:"bb6fa79d-b847-4dcf-897f-20145d80f577"}
 */
function alta()
{
	var frm = history.getFormName(history.getCurrentIndex())
	if ((frm == 'pantallasLst') || (frm == 'solucionesLst') || (frm == 'uservsLst'))
		globals.DIALOGS.showWarningDialog('Error','Opción no válida para esta pantalla','OK','CerrarForm')
	else
		currentcontroller.newRecord()
}

/**
 *
 * @properties={typeid:24,uuid:"22a3c83e-f1ff-488d-af7c-d0de579cc1fe"}
 */
function anterior()
{
	
	currentcontroller.setSelectedIndex(currentcontroller.getSelectedIndex()-1)
}

/**
 *
 * @properties={typeid:24,uuid:"3129df24-d97b-4699-a39b-4009f5dfe647"}
 */
function baja()
{
	currentcontroller.deleteRecord()
}

/**
 *
 * @properties={typeid:24,uuid:"ae265d18-6733-41a6-808c-840dee70911a"}
 */
function siguiente()
{
	currentcontroller.setSelectedIndex(currentcontroller.getSelectedIndex()+1)
}

/**
 *
 * @properties={typeid:24,uuid:"e66b5097-5895-42cb-816a-e6383a400877"}
 */
function volver()
{
	history.back()
}
